//
//  MAMutablePolyline.h
//  地图
//
//  Created by dllo on 16/5/20.
//  Copyright © 2016年 sunzhichao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MAMapKit/MAOverlay.h>

/** 可变的多段线*/
@interface MAMutablePolyline : NSObject<MAOverlay>

/** Points 必须是NSValue(是用来存储一个C或者Objective－C数据的简单容器)*/
- (instancetype)initWithPoints:(NSArray *)points;

/** 坐标点数组*/
@property (nonatomic, readonly) MAMapPoint *points;

/** 坐标点的个数*/
@property (nonatomic, readonly) NSUInteger pointCount;

- (void)appendPoint:(MAMapPoint)point;

/** 删除所有点*/
- (void)removeAllPoints;

@end
